﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace CATLTempUpdate
{
    public partial class FormWarningShow : Form
    {
        string ShowMsg = "";
        public FormWarningShow(string msg)
        {
            InitializeComponent();
            this.ControlBox = false;
            ShowMsg = msg;
        }

        private void FormWarningShow_Load(object sender, EventArgs e)
        {
            labelmsg.Text = ShowMsg;
        }

        private void btnok_Click(object sender, EventArgs e)
        {
            SenseDataCollection.IfWarning = false;
            this.Close();
        }

        private void FormWarningShow_FormClosing(object sender, FormClosingEventArgs e)
        {
            //e.Cancel = true;
        }
    }
}
